/**
 * Copyright 2013 Net355 Co,.Ltd. 
 * All rights reserved.
 *
 * "GlobalParams.java is for what: "
 * 
 * Create by Ray at 2013-12-6 下午2:18:42.
 * Ray [email:rayinhangzhou@126.com]
 * 
 * Revision History
 *
 * Date            Programmer                   Notes
 * ---------    ---------------------  -----------------------------------
 * 2013-12-6            Ray                       initial
 **/


package com.net355.eblog.util;

import java.util.HashMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicInteger;


public class GlobalParams {

//	public static String REAL_PATH = "";
	public static String DB_DATA_URL = "";
	public final static String AUTH_TOKEN = "S=s100:U=20e5843:E=14a6c3c1a00:C=143148aee04:P=1cd:A=en-devtoken:V=2:H=41080c3824817e6d051567692a623081";
	public final static String AUTH_TOKEN_TEST = "S=s1:U=8d5bc:E=14a18da536d:C=142c1292770:P=1cd:A=en-devtoken:V=2:H=355299e05209d98dd090314ea0f1b88c";
	public static String BLOG_OWNER = "186588553881111"; 
	public static String SESSION_GAME_SCORE = "SESSION_GAME_SCORE";
	public static HashMap<String, String> NOTEBOOK_FILTER = new HashMap<String, String>();
	public static ExecutorService THREAD_POOL = Executors.newCachedThreadPool();
	
	public static int PAGE_SIZE = 10;
	public static String ERR_DESC = "参数出错，请重新尝试！";

	public static AtomicInteger COUNT_UPDATE = new AtomicInteger(0);
	public static AtomicInteger COUNT_SEARCH = new AtomicInteger(0);
	public static AtomicInteger COUNT_CHAT = new AtomicInteger(0);
	public static AtomicInteger COUNT_VIEW = new AtomicInteger(0);
	
	public static int TEXT_SECTION_SIZE=2000;
	public static int SIMPLE_CONTENT_SIZE=300;
	public static String CACHE_NAME_COUNT_SEARCH = "CACHE_NAME_COUNT_SEARCH";
	public static String CACHE_NAME_COUNT_CHAT = "CACHE_NAME_COUNT_CHAT";
	public static String CACHE_NAME_COUNT_VIEW = "CACHE_NAME_COUNT_VIEW";
	public static String CACHE_NAME_COUNT_UPDATE = "CACHE_NAME_COUNT_UPDATE";
	public static String CACHE_NAME_LIST_NOTEBOOK = "CACHE_NAME_LIST_NOTEBOOK";
	public static String CACHE_NAME_LIST_NOTE = "CACHE_NAME_NOTE_LIST";
	public static String CACHE_NAME_LIST_NOTE_COMMENT = "_COMMENT";
	public static String CACHE_NAME_LIST_TAG = "CACHE_NAME_LIST_TAG";
	public static String CACHE_NAME_LIST_CHAT_SYSTEM = "CACHE_NAME_LIST_CHAT_SYSTEM";
	public static String CACHE_NAME_LIST_GAME_SCORE = "CACHE_NAME_LIST_GAME_SCORE";

}
